package com.ctshk.rpc.system.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.system.dto.ScenicProdutTypeIncoDTO;
import com.ctshk.rpc.system.req.MainDataScenicProductTypeAddReq;

import java.util.List;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/4/22
 */
public interface IMainScenicProductTypeService {

    /**
     * 景点门票列表
     * @param req
     * @param currentUser
     * @return
     */
    Result<PageResponse<ScenicProdutTypeIncoDTO>> list(MainDataScenicProductTypeAddReq req, TokenUser currentUser);

    /**
     * 新增景点门票类型
     * @param req
     * @param currentUser
     * @return
     */
    Result add(MainDataScenicProductTypeAddReq req, TokenUser currentUser);

    /**
     * 编辑景点门票类型
     * @param req
     * @param currentUser
     * @return
     */
    Result edit(MainDataScenicProductTypeAddReq req, TokenUser currentUser);

    Result<List<ScenicProdutTypeIncoDTO>> getFunType();

    Result updateStatus(MainDataScenicProductTypeAddReq mainDataLocalFunAddReq);

    Result<PageResponse<ScenicProdutTypeIncoDTO>> getTypeList(MainDataScenicProductTypeAddReq req, TokenUser currentUser);
}
